Skip to content

Conversation

yonasadiel
Copy link

Based on this code, the Marker can accept some more event listener. However, only onClick and onMouseover are listed on typescript definition.

handleEvent(evt) {
return (e) => {
const evtName = `on${camelize(evt)}`
if (this.props[evtName]) {
this.props[evtName](this.props, this.marker, e);
}
}
}

@yonasadiel
Copy link
Author

Ups, I think this is duplicate of #433

@yonasadiel yonasadiel closed this Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant